// 引入mockjs
const Mock = require('mockjs')
// 拦截ajax请求，配置mock的数据
Mock.mock('/api/articles', 'get', require('./data/menu.json'))
Mock.mock('/api/getMessage', 'get', require('./data/message.json'))
Mock.mock('/api/getChat', 'get', require('./data/chat.json'))
Mock.mock('/api/getFile', 'get', require('./data/file.json'))